package routers

import (
	beego "github.com/beego/beego/v2/server/web"
	"parce/controllers"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/userList", &controllers.UserControllers{}, "post:List")     //用户登录
	beego.Router("/RolePermAdd", &controllers.UserControllers{}, "post:Add")   //角色权限添加
	beego.Router("/UserRoleList", &controllers.UserControllers{}, "get:List2") //用户角色查询
	beego.Router("/RolePermList", &controllers.UserControllers{}, "get:List3") //角色权限查询
	beego.Router("/compAdd", &controllers.UserControllers{}, "post:Add2")      //公司名称添加
	beego.Router("/CompTypeAdd", &controllers.UserControllers{}, "post:Add3")  //快递物流单号添加
	beego.Router("/NumList", &controllers.UserControllers{}, "get:List4")      //三表关联
	beego.Router("/CompTypeList", &controllers.UserControllers{}, "get:List5") //快递物流表查询
}
